/*
 * RentalBO.java
 *
 * Created on March 25, 2007, 1:35 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package finalintex2web;



public class RentalBO extends RevenueSourceBO{
    
    /**
     * attributes for Rental
     */
    private String dateOut;
    private String dateDue;
    private String ForRentID;
    
    /** Creates a new instance of RentalBO */
    RentalBO(String id) {
        super(id);
        super.setId(id);
            
    }

    /**
     * Get rented out date
     * @return String date
     */
    public String getDateOut() {
        return dateOut;
    }

    /**
     * set the date item is rented out
     * @param dateOut String
     */
    public void setDateOut(String dateOut) {
        this.dateOut = dateOut;
    }

    /**
     * get the date item is due
     * @return String date
     */
    public String getDateDue() {
        return dateDue;
    }

    /**
     * set the date item is due
     * @param dateDue String
     */
    public void setDateDue(String dateDue) {
        this.dateDue = dateDue;
    }

    /**
     * Get ForRentID related to Rental
     * @return String id
     */
    public String getForRentID() {
        return ForRentID;
    }

    /**
     * Set ForRentID related to Rental
     * @param ForRentID String
     */
    public void setForRentID(String ForRentID) {
        this.ForRentID = ForRentID;
    }

    void setAlreadyInDB(boolean b) {
        throw new UnsupportedOperationException("Not yet implemented");
    }
    
    
    
}


